import { Router } from 'express';
import userRoutes from './modules/userRoutes';

const router = Router();

// 基础路由
router.get('/', (req, res) => {
  res.send('Hello, world!');
});

// 用户管理路由
router.use('/api', userRoutes);

export default router; 